﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace Acme.BookStore.GoodTable
{
    /// <summary>
    /// 商品表
    /// </summary>
    public class Goods : FullAuditedAggregateRoot<int>
    {
        
        public string GoodsName { get; set; }
        /// <summary>
        /// 商品图片
        /// </summary>
        public string GoodsImage { get; set; }
        /// <summary>
        /// 商品类型
        /// </summary>
        public int GoodsTypeId { get; set; }
        /// <summary>
        /// 销售价
        /// </summary>
        public decimal GoodsPrice { get; set; }
        /// <summary>
        /// 商品剩余库存
        /// </summary>
        public int CoodNum { get; set; }
        /// <summary>
        /// 商品状态
        /// true上架 fale 下架
        /// </summary>
        public bool GoodsState { get; set; }
    }
}
